/**
 * Copyright 2012 Alfredo "Rainbowbreeze" Morresi
 * 
 * This file is part of Eureka! project.
 * 
 * Eureka! is free software: you can redistribute it and/or modify it under the
 * terms of the GNU General Public License as published by the Free Software
 * Foundation, either version 3 of the License, or (at your option) any later
 * version.
 * 
 * Eureka! is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
 * details.
 * 
 * You should have received a copy of the GNU General Public License along
 * with Eureka!. If not, see http://www.gnu.org/licenses/.
 */
package it.rainbowbreeze.eureka.util;

import it.rainbowbreeze.eureka.domain.QualityDataPoint;

/**
 * 
 * Provides some test data
 * 
 * @author Alfredo "Rainbowbreeze" Morresi
 */
public class DataProvider {
    // ------------------------------------------ Private Fields

    // -------------------------------------------- Constructors

    // --------------------------------------- Public Properties

    // ------------------------------------------ Public Methods
    public static QualityDataPoint createQualityDataPoint1() {
        QualityDataPoint item = new QualityDataPoint();
        item.setAcquisitionTimestamp(1334500000);
        item.setCategoryId(10);
        item.setLatitude(410000);
        item.setLongitude(110000);
        item.setMeasureId(1);
        item.setRadius(100);
        item.setReadingTimestamp(1334600000);
        item.setReferringRadius(1000);
        item.setScore(1);
        item.setValue(10.10);
        return item;
    }

    public static QualityDataPoint createQualityDataPoint2() {
        QualityDataPoint item = new QualityDataPoint();
        item.setAcquisitionTimestamp(1334600000);
        item.setCategoryId(20);
        item.setLatitude(420000);
        item.setLongitude(120000);
        item.setMeasureId(2);
        item.setRadius(200);
        item.setReadingTimestamp(1334700000);
        item.setReferringRadius(2000);
        item.setScore(2);
        item.setValue(22.20);
        return item;
    }

    public static QualityDataPoint createQualityDataPoint3() {
        QualityDataPoint item = new QualityDataPoint();
        item.setAcquisitionTimestamp(1334800000);
        item.setCategoryId(30);
        item.setLatitude(430000);
        item.setLongitude(130000);
        item.setMeasureId(3);
        item.setRadius(300);
        item.setReadingTimestamp(1334900000);
        item.setReferringRadius(3000);
        item.setScore(3);
        item.setValue(33.33);
        return item;
    }

    // ----------------------------------------- Private Methods

    // ----------------------------------------- Private Classes
}
